CREATE PROCEDURE coreAuditGetEventsForClassAppAndType
(
	@eventClass nvarchar(50),
	@appName nvarchar(200),
	@typeid int
)
AS
SELECT * FROM EventLog WHERE Class LIKE @eventClass AND App LIKE @appName AND Type=@typeid ORDER BY DateTimeStamp DESC;
